package zeroj.web.validator.impl;

/**
 * 
 * @author LYL(lyl at gmail dot com)
 *
 * @since 1.0
 *
 * 2008-9-30
 */
public class EmailValidator extends RegexValidator {

	private static final String PATTERN  = "^[a-zA-Z][\\w\\.-]*[a-zA-Z0-9]@[a-zA-Z0-9][\\w\\.-]*[a-zA-Z0-9]\\.[a-zA-Z][a-zA-Z\\.]*[a-zA-Z]$";
	private static EmailValidator instance = new EmailValidator();
	
	private EmailValidator() {
		
		super(PATTERN);
	}
	
	public static EmailValidator getInstance() {
		
		return instance;
	}
}
